﻿
@*
    For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
*@

@{
    List<IVBlog.Models.Category> categories = TempData["Category"] as List<IVBlog.Models.Category>;
}

@foreach (var item in categories)
{
    <li><a href="~/Home/Type/@item.CategoryId" class="btn">@item.Cname</a></li>
}